<template>
  <div class="common-layout">
    <el-container>
      <el-header style="background-color: #0aa1ed;color: #fff;font-weight: bold;line-height: 60px;font-size: 30px">智慧车辆管理系统-IVOS</el-header>
      <el-container>
        <el-aside width="200px">
          <el-menu>
            <el-menu-item>用户管理</el-menu-item>
            <el-menu-item>车辆管理</el-menu-item>
            <el-menu-item>围栏管理</el-menu-item>
          </el-menu>
        </el-aside>
        <el-main>
          <el-table :data="arr">
            <el-table-column label="序号" type="index" align="center" width="80"></el-table-column>
            <el-table-column label="品牌" prop="brand" align="center"></el-table-column>
            <el-table-column label="型号" prop="model" align="center"></el-table-column>
            <el-table-column label="车牌号" prop="license" align="center"></el-table-column>
            <el-table-column label="颜色" prop="color" align="center"></el-table-column>
            <el-table-column label="公里数" prop="km" align="center"></el-table-column>
          </el-table>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script setup>
import {ref} from "vue";

const arr = ref([
  {brand:'奥迪',model:'A8',license:'湘A88976',color:'红',km:'10000'},
  {brand:'宝马',model:'X5',license:'京B12345',color:'黑',km:'15000'},
  {brand:'奔驰',model:'E300',license:'沪A67890',color:'白',km:'20000'},
  {brand:'丰田',model:'凯美瑞',license:'粤D45678',color:'银',km:'5000'},
  {brand:'本田',model:'雅阁',license:'浙C78901',color:'蓝',km:'12000'},
  {brand:'大众',model:'帕萨特',license:'苏E23456',color:'灰',km:'18000'},
  {brand:'特斯拉',model:'Model 3',license:'川F34567',color:'红',km:'8000'},
  {brand:'保时捷',model:'卡宴',license:'津G45678',color:'黑',km:'25000'},
  {brand:'雷克萨斯',model:'ES300',license:'渝H56789',color:'白',km:'9000'},
  {brand:'日产',model:'天籁',license:'闽J67890',color:'金',km:'14000'},
  {brand:'福特',model:'野马',license:'陕K78901',color:'黄',km:'30000'},
])

</script>

<style scoped>

</style>